home *** CD-ROM | disk | FTP | other *** search
- Path: li.net!jeremy
- From: jeremy@newshost.li.net (Jeremy Markman)
- Newsgroups: comp.lang.c
- Subject: Re: PLEASE HELP!!!
- Date: 5 Apr 1996 14:04:53 GMT
- Organization: LI Net (Long Island Network)
- Message-ID: <4k39a5$sf@linet06.li.net>
- References: <4k25rv$l4s@netnews.ntu.edu.tw>
- NNTP-Posting-Host: linet04.li.net
- X-Newsreader: TIN [version 1.2 PL2]
-
- b3503104 (b3503104@cc.ntu.edu.tw) wrote:
- : How can I write a program in C to have the similar function as "dir" in DOS?
- : ??
-
- Use the FindFirst and FindNext functions in DOS.H (at least it's dos.h in
- the borland compiler).
- Using a search spec (i.e. *.*) FindFirst will return the first matching
- file, and Findnext will find the next matching file...
-